regexp/syntax.parser.calcSize (method)
7 uses
regexp/syntax (current package)
parse.go#L206: if p.calcSize(re, true) > maxSize {
parse.go#L211: func (p *parser) calcSize(re *Regexp, force bool) int64 {
parse.go#L224: size = 2 + p.calcSize(re.Sub[0], false)
parse.go#L226: size = 1 + p.calcSize(re.Sub[0], false)
parse.go#L229: size += p.calcSize(sub, false)
parse.go#L233: size += p.calcSize(sub, false)
parse.go#L239: sub := p.calcSize(re.Sub[0], false)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |